// 引入Element组件库
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
// 初始化样式
import 'styles/reset.css'
import 'styles/iconfont.css'
// 引入vuex的store
import store from './store'
import Vue from 'vue'
import App from './App'
import router from './router'

Vue.config.productionTip = false
Vue.use(ElementUI)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  // 引入store(Vuex框架进行传值)
  store,
  components: { App },
  template: '<App/>',
  render: h => h(App)
})
